package com.hiof.servercommunication.push.beans;

import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import com.hiof.servercommunication.receive.beans.Packet;

/**
 * Created with IntelliJ IDEA.
 * User: manish
 * Date: 4/16/12
 * Time: 2:59 PM
 * To change this template use File | Settings | File Templates.
 */
public class MediaSendPacket implements Packet {
    private String filePath;

    public MediaSendPacket(String filePath) {
        this.filePath = filePath;
    }

    public String getFilePath(){
        return filePath;
    }

    public String getFileName(){
        return filePath;
    }

    public Bitmap getBitmap(){
        return BitmapFactory.decodeFile(getFilePath());
    }
}
